//
//  CYScanCodeVC.h
//  CaiYun
//
//  Created by 今日信息科技 on 2017/9/23.
//  Copyright © 2017年 今日信息科技. All rights reserved.
//

#import "CYView.h"
#import "CYRechergeModel.h"
typedef NS_ENUM(NSInteger, ScanCodeEvent) {
    subMitForScanCodeEvent = 1,   //提交
    saveForScanCodeEvent,       //保存
    jumpForScanCodeEvent,       //跳转
    showDateListForScanCodeEvent,//弹出时间选择器
};
typedef void(^scanCodeBlock)(ScanCodeEvent event,id data);
@interface CYScanCodeVC : CYView
@property (nonatomic, strong) NSDictionary *dict;
@property (nonatomic, strong) CYRechergeModel *model;
@property (nonatomic, copy) NSString *urlScheme;//应用内跳转APP
@property (nonatomic, strong) CYTextField *timeField;//支付时间
- (instancetype)initWithTitle:(NSString *)title block:(scanCodeBlock)block;
@end
